﻿
using Xacml.Core.Interfaces;
using Xacml.Core.Runtime.Functions;

namespace Xacml.Core.Runtime.DataTypes
{
  public class DoubleDataType : IDataType
  {
    public IFunction EqualFunction
    {
      get
      {
        return (IFunction) new DoubleEqual();
      }
    }

    public IFunction IsInFunction
    {
      get
      {
        return (IFunction) new DoubleIsIn();
      }
    }

    public IFunction SubsetFunction
    {
      get
      {
        return (IFunction) new DoubleSubset();
      }
    }

    public string DataTypeName
    {
      get
      {
        return "http://www.w3.org/2001/XMLSchema#double";
      }
    }

    internal DoubleDataType()
    {
    }
  }
}
